package com.ruoyi.flow.entity;

import com.ruoyi.core.entity.BaseMap;
import com.ruoyi.flow.domain.Instance;
import com.ruoyi.flow.entity.machine.Event;
import com.ruoyi.flow.entity.machine.Flow;
import com.ruoyi.flow.entity.machine.Line;
import com.ruoyi.flow.entity.machine.Node;
import lombok.Data;

@Data
public class FireContext {
    private String modId;
    private Instance instance;
    private Flow flow;
    private Node source;
    private Node target;
    private Event event;
    private Event originalEvent;
    private Line line;
    /**
     * 审批结果
     */
    private boolean result;
    /**
     * 审批意见
     */
    private String opinion;
    /**
     * 审批数据
     */
    private BaseMap data;
}
